﻿using SIE.SCADA.Common;
using SIE.SCADA.Common.Command;
using SIE.SCADA.Common.Object;
using Model.Core;
using SIE.SCADA.SuperSocket.Rpc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SIE.SCADA.Common.Log;
using Models;

namespace SIE.SCADA.StationDemo
{
    class StationDemoCommand : BaseObject, IBaseCommand
    {
        private const string _deviceName = "Tag.ScanDevice";
        

        public StationDemoCommand()
        {
            Name = "RunnerDemoCommand";
        }

        private bool Init()
        {
            return true;
        }

        /// <summary>
        /// 清除当前工单
        /// </summary>
        /// <param name="OrderNo"></param>
        /// <returns></returns>
        public Response<object> RestWorkState(string OrderNo)
        {
            Env.WorkState = false;
            Response<object> response = new Response<object>();
            response.Data = true;
            return response;
        }
    }
}
